package com.notemybatis;

import com.notemybatis.config.ConfigSpring;
import com.notemybatis.test.UserTest;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new AnnotationConfigApplicationContext(ConfigSpring.class);
        UserTest userTest = applicationContext.getBean(UserTest.class);
        userTest.show();
    }
}
